package day07_class.src.com.itheima.homework6;

public class TestC_D {
    public static void main(String[] args) {
        Cat c = new Cat("花色","波斯猫");
        c.eat();
        c.catchMouse();
        Cat c1 = new Cat("棕色","加菲猫");
        c1.eat();
        c1.catchMouse();
        Dog d = new Dog("黑色","藏獒");
        d.eat();
        d.lookHome();
    }
}
